Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add public accessor for tip amount #9219

Merged
merged 2 commits into from
Jun 28, 2021

Conversation

JoshOrndorff
Copy link
Contributor

This PR adds a public accessor function to the ChargeTransactionPayment struct. This is useful in chains using https://github.com/paritytech/frontier/ to be able to properly prioritize "normal" FRAME transactions alongside ethereum transactions.

frame/transaction-payment/src/lib.rs Outdated Show resolved Hide resolved
@bkchr bkchr requested a review from kianenigma June 28, 2021 13:28
@bkchr bkchr added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Jun 28, 2021
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants